package com.jf.concurrent.queue.disruptor.demo;

import com.jf.concurrent.queue.disruptor.model.MessageModel;
import com.lmax.disruptor.EventFactory;

/**
 * 构造EventFactory
 */
public class MessageEventFactory implements EventFactory<MessageModel> {
    @Override
    public MessageModel newInstance() {
	return new MessageModel();
    }
}
